package gat.dto.req.dic;

import java.io.Serializable;

import org.springframework.validation.annotation.Validated;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @author: tmac
 * @email: tmac
 */
@Validated
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel
public class DicTypeReqDto implements Serializable{
    private static final long serialVersionUID = 1L;

    /**
     *  VARCHAR
     */
    @ApiModelProperty(value = "")
    @JsonProperty(index = 10)
    private String code;
    /**
     * 描述 VARCHAR
     */
    @ApiModelProperty(value = "描述")
    @JsonProperty(index = 20)
    private String description;
    /**
     * 上级类型 VARCHAR
     */
    @ApiModelProperty(value = "上级类型")
    @JsonProperty(index = 30)
    private String pcode;

}






